package org.fffd.l23o6.dao;

import org.fffd.l23o6.pojo.entity.TrainEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TrainDao extends JpaRepository<TrainEntity, Long> {
    public List<TrainEntity> findTrainEntitiesByRouteIdAndDate(Long routeId, String date);
}
